home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SC.013.OOPTESample / OOPTESample.make < prev    next >
Encoding:
Text File  |  1989-09-30  |  2.6 KB  |  121 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple TextEdit Sample Application
  5. #
  6. #    OOPTESample
  7. #
  8. #    OOPTESample.make    - MPW Make Facility Source
  9. #
  10. #    Copyright © 1988, 1989 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Version:        
  14. #                    1.10                    10/89
  15. #                    1.00                    04/89
  16. #
  17. #    Components:     
  18. #                    BuildOOPTESample        October 1, 1989
  19. #                    MOOPTESample.p            October 1, 1989
  20. #                    OOPTESample.make        October 1, 1989
  21. #                    TECommon.h                October 1, 1989
  22. #                    TESampleGlue.a            October 1, 1989
  23. #                    TESample.r                October 1, 1989
  24. #                    UApplication.p            October 1, 1989
  25. #                    UApplication.inc1.p        October 1, 1989
  26. #                    UDocument.p                October 1, 1989
  27. #                    UDocument.inc1.p        October 1, 1989
  28. #                    UTEDocument.p            October 1, 1989
  29. #                    UTEDocument.inc1.p        October 1, 1989
  30. #                    UTESample.p                October 1, 1989
  31. #                    UTESample.inc1.p        October 1, 1989
  32. #
  33.  
  34. # NOTE: This make script should be called from 'BuildOOPTESample'. It depends
  35. # on some variables declared there.
  36.  
  37. kSignature = 'MOOT'
  38.  
  39. # turn off SADE symbols. To turn symbols on, add '-sym on' after the
  40. # equals sign. DON'T use '-sym off' if you want to use TML Pascal; it
  41. # doesn't recognize it.
  42. SymOpts =
  43.  
  44. # Pascal options
  45. PasOpts = {SymOpts}
  46.  
  47. # Linker optins
  48. LinkOpts = {SymOpts}
  49.  
  50. Objs =    ∂
  51.     "{ObjFolder}"UApplication.p.o ∂
  52.     "{ObjFolder}"UDocument.p.o ∂
  53.     "{ObjFolder}"UTEDocument.p.o ∂
  54.     "{ObjFolder}"UTESample.p.o ∂
  55.     "{ObjFolder}"TESampleGlue.a.o ∂
  56.     "{ObjFolder}"MTESample.p.o
  57.  
  58. Srcs =    ∂
  59.     UApplication.p ∂
  60.     UDocument.p ∂
  61.     UTEDocument.p ∂
  62.     UTESample.p ∂
  63.     TESampleGlue.a ∂
  64.     MTESample.p
  65.     
  66. RezFile = TESample.r
  67.  
  68. SysLibs =     "{Libraries}"Runtime.o ∂
  69.             "{Libraries}"Interface.o ∂
  70.             "{Libraries}"ObjLib.o ∂
  71.             "{PasLib}"
  72.  
  73.     
  74. "{ObjFolder}"MTESample.p.o        ƒ ∂
  75.         {Srcs}
  76.  
  77. "{ObjFolder}"UDocument.p.o        ƒ ∂
  78.         UDocument.inc1.p
  79.  
  80. "{ObjFolder}"UApplication.p.o    ƒ ∂
  81.         UApplication.inc1.p ∂
  82.         UDocument.p
  83.  
  84. "{ObjFolder}"UTEDocument.p.o    ƒ ∂
  85.         UTEDocument.inc1.p ∂
  86.         UApplication.p ∂
  87.         UDocument.p
  88.  
  89. "{ObjFolder}"UTESample.p.o        ƒ ∂
  90.         UTESample.inc1.p ∂
  91.         UApplication.p ∂
  92.         UDocument.p ∂
  93.         UTEDocument.p
  94.  
  95. # Everything below here is pretty generic, and shouldn't
  96. # have to be modified. You can customize it by changing the
  97. # variables above.
  98.  
  99. .p.o    ƒ .p
  100.     Echo "Compiling:     {Default}.p"
  101.     {Pascal} {PasOpts} ∂
  102.         -o {targDir}{default}.p.o ∂
  103.         {depDir}{default}.p
  104.  
  105. .a.o    ƒ .a
  106.     Echo "Assembling:    {Default}.a"
  107.     Asm -o {targDir}{default}.a.o ∂
  108.         {depDir}{default}.a
  109.  
  110. "{ObjFolder}"    ƒ :
  111.  
  112. {AppName} ƒƒ {Objs} {AppName}.make
  113.     Echo "Linking:       {AppName}"
  114.     Link -o {Targ} {LinkOpts} {Objs} {SysLibs} 
  115.     SetFile {Targ} -t APPL -c kSignature -a B
  116.  
  117. {AppName} ƒƒ {RezFile} {AppName}.make
  118.     Echo "Rezzing:       {RezFile}"
  119.     Rez -append -o {Targ} {RezFile}
  120.  
  121.